package com.goods.business.service;

import com.goods.common.vo.business.ConsumerVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Date: 2023/3/6 - 17:59
 * @Author: Hyoung
 * @Description:
 */

public interface IConsumerService {
    List<ConsumerVO> findAllConsumer();

    PageVO<ConsumerVO> findConsumerList(Integer pageNum, Integer pageSize, ConsumerVO consumerVO);

    void delete(Integer id);

    ConsumerVO findConsumerById(Integer id);

    void updateConsumer(Integer id, ConsumerVO consumerVO);

    void addConsumer(ConsumerVO consumerVO);
}
